﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UIDemo.Models
{
    [System.Diagnostics.DebuggerDisplay("{Name}")]
    public abstract class Data
    {
        protected Data()
        {
            SubNodes = new List<Data>();
        }

        public string Name { get; set; }
        public string Description { get; set; }
        public Data PData { get; set; }
        public List<Data> SubNodes { get; set; }
    }

    public class DownData: Data
    {
        public int Value { get; set; }
    }

    public class FoldData: Data
    {
        public bool Value { get; set; }
    }

    public class MoveData: Data
    {
        public double Value { get; set; }
    }

    public class StarData : Data
    {
        public double Value { get; set; }
    }
    public class MuscData : Data
    {
        public double Value { get; set; }
    }
    public class TickData : Data
    {
        public double Value { get; set; }
    }
}
